package com.acme.task2;

public class Foo {

	private int _num;
	
	public Foo(int num){
		_num = num;
	}
	@Override
	protected void finalize() throws Throwable {
		System.out.println("Finalize called for object #" + _num);
		super.finalize();
	}
}
